package com.clock.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class NewDiscussPostVo {

    @ApiModelProperty(value = "帖子id")
    private Integer postId;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "帖子题目")
    private String title;
    @ApiModelProperty(value = "帖子内容")
    private String content;
    @ApiModelProperty(value = "0-普通;1-置顶")
    private Integer type;
    @ApiModelProperty(value = "0-正常;1-精华;2-拉黑;")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "评论数")
    private Integer commentCount;
    @ApiModelProperty(value = "分数")
    private Double score;

}
